package com.tn.controller.alarm.common.model.map;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 货车历史轨迹
 *
 * @program: tn_aucy_java
 * @author: yangjiayao
 * @create: 2022/1/11
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class TruckTrailVO {
    /**
     * ID
     */
    private Integer id;

    /**
     * 标签ID
     */
    private String tagId;

    /**
     * 车牌
     */
    private String license;

    /**
     * 时间
     */
    private String time;

    /**
     * 入口ID
     */
    private String gate;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 点位列表
     */
    private List<String> hisPosList;

    public TruckTrailVO(TruckInfoVO truckInfo) {
        this.id = truckInfo.getId();
        this.tagId = truckInfo.getTagId();
        this.license = truckInfo.getLicense();
        this.status = truckInfo.getStatus();
    }
}
